package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.FaqReply;
import com.xjscrm.console.param.operatePlan.FaqReplyQuery;
import com.xjscrm.console.vo.FaqReplyVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FaqReplyMapper {
    int insertFaqReply(FaqReply faqReply);

    FaqReply getById(@Param("id") Long id, @Param("merId") Long merId);

    int updateFaqReply(FaqReply faqReply);

    List<FaqReplyVo> getFaqReplyList(FaqReplyQuery faqReplyQuery);

    void deleById(@Param("id") Long id, @Param("merId") Long merId);

    int update(FaqReply faqReply);
}
